// 全局工具函数 使用方式：util.xxx

export {
  formatTime,
  parseTime,
  getDate,
  isBeforeNow,
  isBeforeNowI,
  isAfterNow,
  isAfterNowI
} from "./modules/date";
export { to } from "./modules/to";

export { isRepeat, chunk, unique, deleteArrayFromArray } from "./modules/array";

export { param2Obj, addParams, encodeToURIString } from "./modules/url";

export { insertText, syncLoadJS } from "./modules/dom";

export { throttle } from "./modules/throttle";

export { paramsToFormData } from "./modules/file";

export { parseMoney } from "./modules/number";

export { deepClone, merge } from "./modules/object";

export { sStorage } from "./modules/webStorage";

export { checkStr, isObj } from "./modules/validate";

export { createRules } from "./modules/rules";

export { hasPermission } from "./modules/permission";

export { RestfulApi, paramsFilter } from "./request/help";

export { request } from "./request/axios";

export { WS } from "./request/ws";

export { default as ajax } from "./request/xhr";

export { default as EventEmitter } from "./modules/EventEmitter";
